00001 Wheel::Wheel():TraffEduObject(){ 00002 00003 this->setObjectType(WHEEL); 00004 } 00005 Wheel::Wheel(string pathname,float scale):TraffEduObject(pathname,scale){ 00006 00007 this->setObjectType(WHEEL); 00008 } 00009 void Wheel::draw(osg::ref_ptr<osg::Group> root, int animationFlag){ 00010 objectGroup->addChild(returnNode().get()); 00011 this->setScale(modelScale, modelScale, modelScale); 00012 this->addTree(root); 00013 } 00014 00015 00016 00017 00018 00019 00020 00021
1.4.6-NO